package com.example.goodsserver.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class GoodsInfoVO implements Serializable {
    @ApiModelProperty(value="主键")
    private String id;
    @ApiModelProperty(value="商品标题", example = "Java基础入门")
    private String title;
    @ApiModelProperty(value="商品描述", example = "一本书")
    private String description;
    @ApiModelProperty(value="商品价格", example = "50")
    private Double price;
    @ApiModelProperty(value="商品状态", example = "1")
    private int status;
    @ApiModelProperty(value="用户id", example = "1")
    private String userId;
    @ApiModelProperty(value="发布用户名", example = "1")
    private String postName;
    @ApiModelProperty(value="城市id", example = "1")
    private String cityName;
    @ApiModelProperty(value="学校id", example = "1")
    private String schoolName;
    @ApiModelProperty(value="地址", example = "C16-363")
    private String address;
    @ApiModelProperty(value="支持的交易方式{1,2,3,...}", example = "{1,2,3,...}")
    private String method;
    @ApiModelProperty(value="图片地址", example = "url")
    private String photo;
    @ApiModelProperty(value="图片地址a", example = "url")
    private String photoA;
    @ApiModelProperty(value="图片地址b", example = "url")
    private String photoB;
    @ApiModelProperty(value="图片地址c", example = "url")
    private String photoC;
    @ApiModelProperty(value="图片地址d", example = "url")
    private String photoD;
    @ApiModelProperty(value="图片地址e", example = "url")
    private String photoE;
    @ApiModelProperty(value="创建时间")
    private Date createTime;
    @ApiModelProperty(value="更新时间")
    private Date updateTime;
}
